<!DOCTYPE html>
	<html>
	<head>
		<title>{$site_seo_title} {$site_name}</title>
		<meta name="keywords" content="{$site_seo_keywords}" />
		<meta name="description" content="{$site_seo_description}">
		<tc_include file="Public:head" />
		<link href="__TMPL__Public/css/slippry/slippry.css" rel="stylesheet">
    <style type="text/css">
    table {
        background-color: #FCFCFC !important;
        text-align: center !important;
    }
    th {
        text-align: center !important;
        padding-left:2px !important;
        padding-right:2px !important;
        padding-bottom:10px !important;
        padding-top:10px !important;
    }
    td {
	cursor: pointer;
	text-align: center !important;
	padding-left: 2px !important;
	padding-right: 2px !important;
	padding-bottom: 10px !important;
	padding-top: 10px !important;
	border-top-width: 3px !important;
	border-right-width: 3px !important;
	border-bottom-width: 3px !important;
	border-left-width: 3px !important;
	border-top-color: #D4D4D4;
	border-right-color: #D4D4D4;
	border-bottom-color: #D4D4D4;
	border-left-color: #D4D4D4;
	font-size: 12px !important;
	vertical-align: middle;
	font-family: "Times New Roman", Times, serif;
    }
	ol, ul {
		list-style: none;
	}
	hr {
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	}
	.order-status {
		border: 1px solid #aaaaaa;
		display: block;
		overflow: hidden;
		width: 16px;
		height: 16px;
	}
	.can-order {
    	background-color:#FAFAFA;
	}
	.can-not-order {
		background-color:#B89B92;
	}
	.chosen {

		background-color:#97BAFB;
	}
	.font12px {
		font-size: 12px !important;
	}
	.echo li {
		margin: 5px 5px;
		border: 1px solid #aaaaaa;
		border-radius: 3px;
		width: 246px;
		height: 30px;
		line-height: 30px;
		font-size: 14px;
		color: #222222;
		font: inherit;
		display: list-item;
		text-align: -webkit-match-parent;
	}
	.submit-button {
	background: #4f6dcf;
	display: block;
	width: 200px;
	height: 40px;
	line-height: 40px;
	border-radius: 5px;
	color: #fff;
	text-align: center;
	border: 0;
	outline: 0;
	font-size: 14px;
	cursor: pointer;
	clear: both;
	text-decoration: none;
	font: inherit;
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	}
    </style>

	</head>
<body class="body-white">
    <tc_include file="Public:nav" />
    
    <div class="container">
        <div class="row-fluid">
        	<div class="span9">


		<ul class="nav nav-tabs">
			<li><a href="{:U('Yd/Notice/index')}">通知管理</a></li>
			<li class="active"><a href="{:U('Yd/Notice/add')}">发表通知</a></li>
		</ul>

  <form method="post" class="form-horizontal js-ajax-form" action="{:U('Yd/Notice/add_post')}">
    <fieldset>
      <div id="legend" class="">
        <legend class="">发表通知</legend>
      </div>

    <div class="control-group">

          <!-- Select Basic -->
          <label class="control-label">通知类型</label>
          <div class="controls">
              <select name="parentid">
                  <!--option value="0">作为一级菜单</option-->
                  {$select_categorys}
              </select>
              <span class="form-required">*</span>
          </div>
	</div>
	<div class="control-group">
          <!-- Text input-->
          <label class="control-label" for="title">标题</label>
          <div class="controls">
            <input type="text"  name="title" placeholder="通知标题" class="input-xlarge">
            <span class="form-required">*</span>
          </div>
	</div>
	<div class="control-group">
          <!-- Text input-->
      <label class="control-label" for="msg">内容</label>
          <div class="controls">
            <textarea name="msg" cols="80" rows="8" class="input-xlarge" placeholder="通知内容"></textarea>
            <span class="form-required">*</span>
          </div>
	</div>
    <!--div class="control-group">
          <label class="control-label">Button</label>
          <!-- Button -->
          <!--div class="controls">
            <button class="btn btn-success">确认</button>
          </div>
	</div-->

    </fieldset>
    <div class="form-actions">
    	<input type="hidden" name="senderid" value="{:sp_get_current_admin_id()}" />
        <button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
        <a class="btn" href="{:U('Yd/Notice/index')}">{:L('BACK')}</a>
    </div>
  </form>

    
            </div><!--div class="span9"-->
			<div class="span3"></div>
        </div><!--div class="row-fluid"-->









	</div><!--<div class="container tc-main">-->
<tc_include file="Public:footer" />  


    <!-- JavaScript -->
	<tc_include file="Public:scripts" />

	{:hook('footer_end')}

</body>
</html>